{extend name="base"/}
{block name="resources"}


{/block}
{block name="main"}
<div class="layui-card ns-card-common ns-card-brief">
    <div class="layui-card-header">
        <span class="ns-card-title">用户详情</span>
    </div>
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">头像：</label>
            <div class="layui-input-block">
                <p><img src="{:img($member_info.headimg)}" alt=""></p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">昵称：</label>
            <div class="layui-input-block">
                <p>{$member_info.nickname}</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">绑定手机：</label>
            <div class="layui-input-block">
                <p>{$member_info.mobile}</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">注册时间：</label>
            <div class="layui-input-block">
                <p>{:time_to_date($member_info.reg_time)}</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">推荐人：</label>
            <div class="layui-input-block">
                <p>{$parent_nickname}</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">推荐码：</label>
            <div class="layui-input-block">
                <p>{$member_info.invitation_code}</p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label img-upload-lable">地址：</label>
            <div class="layui-input-block">
                {foreach $member_address_list as $k => $v}
                <p>{$v.full_address}{$v.address}</p>
                {/foreach}
            </div>
        </div>
    </div>
</div>


{/block}
{block name="script"}
<script>
    layui.use('form', function() {
        var form = layui.form;
        form.render();



    });
</script>
{/block}